<template>
  <div
    class="content"
    :style="{ left: $store.state.isShow ? '64px' : '250px' }"
  >
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.content {
  // position: absolute;
  // top: 60px;
  // left: 15%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: absolute;
  top: 60px;
  left: 250px;
  bottom: 0;
  right: 0;
  transition: left 0.3s ease-in-out;
  background-color: #f0f0f0;
  padding: 15px 15px 8px;
  overflow-y: auto;
}
</style>